package java56_5;

public class Driver {
	String name, sex;
	int age;
	String serialNo;// 驾照号

	public void drive(Car c) {
		c.start();
	}

	// public int drive(Bus b2) {
	// b2.start();
	// }

	public void drive(Bus b) {
		b.start();
	}

	public void drive(Truck t) {
		t.loadGoods();
	}
}
